<ion-header-bar class="bar-top text-center">
    <div class="buttons">
        <nav-button class="back" ng-click="back()"></nav-button>
    </div>
    <h1 class="title">我的义诊</h1>
</ion-header-bar>
<ion-view>
    <ion-content class="clinic add-clinic">
      <calendar list="vm.list" date="vm.date"></calendar>
      <div class="add" ng-show="vm.date&&vm.add">
        <ion-list>
          <ion-item>
            <div class="row">
              <div class="col col-50 l">义诊日期</div>
              <div class="col col-50 r"><span ng-bind="vm.date"></span></div>
            </div>
          </ion-item>
          <ion-item class="item-input">
            <div class="row">
              <div class="col col-50 l">义诊费用</div>
              <div class="col col-50 r"><input ng-model="vm.createmodel.callCost" type="text"></div>
            </div>
          </ion-item>
          <ion-item class="item-input item-select">
            <div class="row">
              <div class="col col-50 l">义诊次数</div>
              <div class="col col-50 r">
                <select name="" ng-model="vm.createmodel.callCount" id="" class="" ng-options="val as val for val in vm.limit" ng-model="selectLimit"></select>
              </div>
            </div>
          </ion-item>
        </ion-list>
        <div class="row">
          <button type="button" ng-click="vm.submit()" class="col button button-small">提交</button>
        </div>
      </div>
    </ion-content>
</ion-view>